﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<!--这meta的作用就是删除默认的苹果工具栏和菜单栏。-->
<meta name="apple-mobile-web-app-capable" content="yes"/>
<!--在web app应用下状态条（屏幕顶部条）的颜色-->
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<!--该标签用于指定是否将网页内容中的手机号码显示为拨号的超链接。-->
<meta name="format-detection" content="telephone=no"/>
<!--网页在任何时候都不能被Cache存储-->
<meta http-equiv="Expires" content="-1"/>
<!--清除缓存-->
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Pragma" content="no-cache"/>
<!--幻灯片用JS-->
<script language="javascript" type="text/javascript" src="${ctx}/static/web/js/jquery.js"></script>
<!--幻灯片用JS End-->
<link href="${ctx}/static/web/css/main.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/static/web/css/reply.css" rel="stylesheet" type="text/css" />
<title></title>
<script language="javascript" type="text/jscript">
$(document).ready(function(){
var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if (isAndroid){
$('#op2').css("display" , "block");
}else{
$('#op1').css("display" , "block");
}
});
function dosubmit(){
	if ($('#content').val() ==null || $('#content').val()==""){
		return false;
	}
	$('#replyForm').submit();
}
</script>
</head>

<body style=" background-color:#f1f1f1; padding-bottom:55px;">
<div class="viewport">
<div class="top-op clearfix">
<table cellspacing="0" width="100%">
<tr>
<td id="op1" style="display:none">
<div class="op">
<a href="javascript:history.go(-1);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
</div>
</td>
<td id="op2" style="display:none">
<div class="op-l">
<a href="javascript:history.go(-1);">返回</a>
</div>
</td>

<td>回复</td>
<td>
<div class="op-r btn">
<a href="javascript:dosubmit();">回复</a>
</div>
</td>
</tr>
</table>
</div>

<div class="text-containner">
<div class="textarea-top">
<div class="que-con clearfix">

<div class="bref">
${faq.content!}
</div>

<div class="icon-area">
<ul>
<li>${faq.collections!}</li>
<li>${faq.replys!}</li>
<li>${faq.praise!}</li>
</ul>
</div>

</div>
</div>
<form id="replyForm" action="${ctx}/wechatapi/doreply" method="post">
<input type="hidden" name="faqs.mid" value="${session.member.id}"/>
<input type="hidden" name="faqs.pid" value="${faq.id!}"/>
<div class="textarea-bottom">
<textarea placeholder="写回复..." name="faqs.content" id="content"></textarea>
</div>
</form>
</div>



<div class="clear"></div>
</div>
</body>
</html>